import random

# For each opponent's reputation, draw a uniform number 'u' and "hunt" if
# u<reputation else "slack".
# The logic is that I will "hunt" with the same probability as
# my opponent's reputation.
# To quickly gain reputation, increase the probability to "hunt"
# early in the game. This can be seen as trading food for reputation.

def hunt_choices(round_number, current_food, current_reputation, m, 
            player_reputations):

    hunt_decisions = list()
    for reputation in player_reputations:
        decision = random.random()*(round_number/(round_number+4000.0))-1.0/round_number
        hunt_decisions.append("h" if decision<reputation else "s")

    return hunt_decisions

def hunt_outcomes(food_earnings):
    pass # do nothing

def round_end(award, m, number_hunters):
    pass # do nothing